package com.bruce.springai.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
public class UserEntity {

    @TableId(type = IdType.AUTO)
    private Long userId ;

    @TableField("username")
    private String userName ;

    private String city ;

    private String email ;

    private String mobile ;

    private Integer status ;

    private LocalDateTime createTime ;

}
